package com.jie.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jie.pojo.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 曾豪杰
 * @Date: 2022/09/12/18:39
 * @Description:
 */
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {
    List<Blog> selectBlogAByTagId(Long id);

    List<String> archiverYear();

    List<Blog> archiverBlog(String year);
}
